package cn.zorbus.laian.infrastructure.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

/**
 * create in 2023/12/24 22:44
 *
 * @author shishaodong
 * @version 0.0.1
 */
@Data
@Validated
@Component
@ConfigurationProperties(prefix = "cn.zorbus.controller")
public class IndustrialControlProperties {

    private String hostname = "127.0.0.1";

    private Integer port = 9000;
}
